#include "stdafx.h"

#include "thermal_data.h"

#include BS_FORCE_PLUGIN_IMPORT ()
#include "data_class.h"
#include "py_data_class.h"
#include BS_STOP_PLUGIN_IMPORT ()

#include "export_python_wrapper.h"

#ifdef BSPY_EXPORTING_PLUGIN

namespace blue_sky{
	namespace python{

		template <class data_t>
		struct thermal_idata_exporter
		{
			template <typename class_t>
			static class_t &export_class (class_t &class__)
			{
				using namespace boost::python;			

				idata_exporter <data_t>::export_class (class__)
					.add_property ("temperature", &data_t::temperature);

			    return class__;
			}
		};

		void py_export_thermal_data()
		{
			class_exporter<thermal_idata, idata, thermal_idata_exporter>::export_class ("thermal_idata");
		}
	}
}

#endif